package com.zzxy.spring.po;

import com.sun.org.apache.xpath.internal.objects.XString;

import java.util.*;

public class Student {
    private String name;
    private String no;
    private Integer age;

    private Address address;
    /*List Set Array Map Properties*/
    private Set<String> cars;

    private Map<String,String> infos;

    private Properties properties;

    private String[] members;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", no='" + no + '\'' +
                ", age=" + age +
                ", address=" + address +
                ", cars=" + cars +
                ", infos=" + infos +
                ", properties=" + properties +
                ", members=" + Arrays.toString(members) +
                '}';
    }

    public String[] getMembers() {
        return members;
    }

    public void setMembers(String[] members) {
        this.members = members;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public Map<String, String> getInfos() {
        return infos;
    }

    public void setInfos(Map<String, String> infos) {
        this.infos = infos;
    }

    public Set<String> getCars() {
        return cars;
    }

    public void setCars(Set<String> cars) {
        this.cars = cars;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Student() {
    }

    public Student(String name, String no) {
        this.name = name;
        this.no = no;
    }

    public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Student(String name,String no,Integer age) {
        this.name = name;
        this.no = no;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}